Draft
Conversation
added 8 commits
October 21, 2025 17:09
- Added comment indicating validation is complete for required fields - Validates Sell-to Customer No. - In full implementation, Posting Date would also be validated - Completes Exercise 1.A from workshop
miljance
reviewed
Oct 29, 2025
Comment on lines
+166
to
+179
| 1. **Get API Access:** | ||
| - Instructor provides API Base URL: `https://[server].azurewebsites.net/` | ||
| - Open Business Central | ||
| - Search "Connector Connection Setup" | ||
| - Enter API Base URL and your unique name | ||
| - Click "Register" to get API key | ||
|
|
||
| 2. **Create E-Document Service:** | ||
| - Search "E-Document Services" | ||
| - Create new service with: | ||
| - Code: `CONNECTOR` | ||
| - Document Format: `Simple JSON Format - Exercise 1` | ||
| - Service Integration V2: `Connector` | ||
| - Enable the service |
25l3
reviewed
Dec 9, 2025
| ResponseText: Text; | ||
| RequestBody: Text; | ||
| begin | ||
| if ConnectorSetup."API Base URL" = '' then |
| if ConnectorSetup."API Base URL" = '' then | ||
| Error('Please specify the API Base URL before registering.'); | ||
|
|
||
| if ConnectorSetup."User Name" = '' then |
| Error('Please specify the API Base URL before registering.'); | ||
|
|
||
| if ConnectorSetup."User Name" = '' then | ||
| Error('Please specify a User Name before registering.'); |
| Error('Please specify a User Name before registering.'); | ||
|
|
||
| // Create request body | ||
| JsonObject.Add('name', ConnectorSetup."User Name"); |
| HttpRequest.Content.GetHeaders(HttpHeaders); | ||
| if HttpHeaders.Contains('Content-Type') then | ||
| HttpHeaders.Remove('Content-Type'); | ||
| HttpHeaders.Add('Content-Type', 'application/json'); |
| - Python 3.9 or higher | ||
| - pip | ||
|
|
||
| ### Installation |
| @@ -0,0 +1,294 @@ | |||
| # E-Document Connector Workshop | |||
| ## Directions EMEA 2025 | |||
|
|
||
| --- | ||
|
|
||
| ## ⏱️ Workshop Timeline |
| - Simple JSON structure for learning | ||
| - Header fields: document type, number, customer, date, amount | ||
| - Lines array: line items with quantities and prices | ||
| - Human-readable and easy to debug |
| - [E-Document Interface](https://github.com/microsoft/BCApps/blob/main/src/Apps/W1/EDocument/App/src/Document/Interfaces/EDocument.Interface.al) - Interface source code | ||
|
|
||
| ### External Resources | ||
| - [Business Central Documentation](https://learn.microsoft.com/dynamics365/business-central/) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.